package org.codeart.common.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName tb_driver_user_work_status
 */
@TableName(value = "tb_driver_user_work_status")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class DriverUserWorkStatus implements Serializable {

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    @TableField(value = "driver_id")
    private Long driverId;

    /**
     * 收车：0；出车：1，暂停：2
     */
    @TableField(value = "work_status")
    private Integer workStatus;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}